cmake_minimum_required(VERSION 3.5)
project(era)

set(CMAKE_CXX_STANDARD 23)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/out/${CMAKE_BUILD_TYPE}")


add_library(era MODULE source/main.cpp)

target_link_libraries(era PRIVATE titanfall2-sdk)
target_link_libraries(era PRIVATE imgui)
add_subdirectory(extlibs)


target_compile_definitions(era PRIVATE WIN32_LEAN_AND_MEAN)